package com.mongdbtokuduswagger.entity;

import com.mongdbtokuduswagger.utils.BeanMethodAnnotation;
import lombok.Setter;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Daft_V
 * @date 2022/3/10 16:57
 */
@Setter
@Document(collection="upTransmitterLog")
public class UpTransmitterLog {
    private ObjectId id;
    private String pid;
    private String transmitterCode;
    private String logTime;
    private String logType;
    private String logMessage;

    @BeanMethodAnnotation(order = 1)
    public ObjectId getId() {
        return id;
    }

    @BeanMethodAnnotation(order = 2)
    public String getPid() {
        return pid;
    }

    @BeanMethodAnnotation(order = 3)
    public String getTransmitterCode() {
        return transmitterCode;
    }

    @BeanMethodAnnotation(order = 4)
    public String getLogTime() {
        return logTime;
    }

    @BeanMethodAnnotation(order = 5)
    public String getLogType() {
        return logType;
    }

    @BeanMethodAnnotation(order = 6)
    public String getLogMessage() {
        return logMessage;
    }
}
